#ifndef _FILE_H_
#define _FILE_H_

#include "StdAfx.h"

class CFile
{
private:
	FSFile	m_file;	
	u32		m_size;
protected:
public:
	static CFile *open(char *name);
	static void close(CFile *&file);
	
	u32 getSize() {	return m_size; }
	
	int read(void *buf, u32 count);
	BOOL seek(int pos);
	
	
private:
	CFile();
	~CFile();
};

#endif //_FILE_H_